package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TUserBalanceLog;
import com.bootdo.project.dao.TUserBalanceLogMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TUserBalanceLogService {

	@Autowired
    private TUserBalanceLogMapper tUserBalanceLogMapper;
    
    public int deleteByPrimaryKey(Long id){
        return tUserBalanceLogMapper.deleteByPrimaryKey(id);
    }

    public int insert(TUserBalanceLog record){
        return tUserBalanceLogMapper.insert(record);
    }

    public int insertSelective(TUserBalanceLog record){
        return tUserBalanceLogMapper.insertSelective(record);
    }

    public TUserBalanceLog selectByPrimaryKey(Long id){
        return tUserBalanceLogMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TUserBalanceLog record){
        return tUserBalanceLogMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TUserBalanceLog record){
        return tUserBalanceLogMapper.updateByPrimaryKey(record);
    }

    public List<TUserBalanceLog> selectByCondition(TUserBalanceLog record){
        return tUserBalanceLogMapper.selectByCondition(record);
    }

    public List<TUserBalanceLog> selectAll(){
        return tUserBalanceLogMapper.selectAll();
    }

    public List<TUserBalanceLog> selectByPage(Page<TUserBalanceLog> page){
        return tUserBalanceLogMapper.selectByPage(page);
    }

    public Integer count(TUserBalanceLog record){
        return tUserBalanceLogMapper.count(record);
    }

    public int deleteByCondition(TUserBalanceLog record){
        return tUserBalanceLogMapper.deleteByCondition(record);
    }

}
